<!-- 添加表单 -->
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!-- 科室选择框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('科室')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-department_id" data-rule="required" data-source="dicts\Department\getDepartmentList222"
                data-field="department" class="form-control selectpage" name="row[department_id]" type="text" value="">
        </div>
    </div>
    <!-- 姓名输入框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <!-- 性别单选按钮 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gender_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="genderDataList" item="vo"}
                <label for="row[gender_data]-{$key}"><input id="row[gender_data]-{$key}" name="row[gender_data]"
                        type="radio" value="{$key}" {in name="key" value="男" }checked{/in} /> {$vo}</label>
                {/foreach}
            </div>
        </div>
    </div>
    <!-- 出生日期选择框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Birth_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-birth_date" data-rule="required" class="form-control datetimepicker"
                data-date-format="YYYY-MM-DD" data-use-current="true" data-date-disabled-dates name="row[birth_date]"
                type="text" value="">
        </div>
    </div>

    <!-- 年龄输入框 -->
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Age')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-age" data-rule="required" disabled min="0" class="form-control" name="row[age]" type="number">
        </div>
    </div> -->

    <!-- 职称输入框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('职称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jobtitle" data-rule="required" data-source="dicts\Jobtitle\selectpageByID"
                data-field="jobtitle" class="form-control selectpage" name="row[jobtitle_id]" type="text" value="">
        </div>
    </div>

    <!-- 聘任职称输入框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('聘任职称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-usejobtitle" data-rule="required" data-source="dicts\Jobtitle\selectpageByID"
                data-field="jobtitle" class="form-control selectpage" name="row[use_jobtitle_id]" type="text" value="">
        </div>
    </div>

    <!-- 初次学历输入框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Initl_education')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-initl_education" data-rule="required" data-source="dicts\educationbak\selectpageByID"
                data-field="educationbak" class="form-control selectpage" name="row[init_educationbak_id]" type="text"
                value="">
        </div>
    </div>

    <!-- 最高学历输入框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Education')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-education" data-rule="required" data-source="dicts\educationbak\selectpageByID"
                data-field="educationbak" class="form-control selectpage" name="row[educationbak_id]" type="text"
                value="">
        </div>
    </div>

    <!-- 参加工作日期选择框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_work_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_work_date" data-rule="required" class="form-control datetimepicker"
                data-date-format="YYYY-MM-DD" data-date-disabled-dates data-use-current="true"
                name="row[start_work_date]" type="text" value="">
        </div>
    </div>

    <!-- 工作年限输入框 -->
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Work_years')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-work_years" disabled min="0" class="form-control" name="row[work_years]" type="text">
        </div>
    </div> -->

    <!-- 进入医院日期选择框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hospital_start_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hospital_start_date" data-rule="required" class="form-control datetimepicker"
                data-date-format="YYYY-MM-DD" data-use-current="true" name="row[hospital_start_date]" type="text"
                value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('在职')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="onJobList" item="vo" key="key"}
                <label for="row[on_job]-{$key}">
                    <input id="row[on_job]-{$key}" name="row[on_job]" type="radio" value="{$key}" {if
                        condition="$key eq '在职'" }checked{/if} />
                    {$vo}
                </label>
                {/foreach}
            </div>
        </div>
    </div>

    <!-- 离职日期选择框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('离职日期')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-off_job_date" data-rule="required" class="form-control datetimepicker"
                data-date-format="YYYY-MM-DD" data-use-current="true" data-date-disabled-dates name="row[off_job_date]"
                type="text" value="" disabled>
        </div>
    </div>

    <!-- 操作员输入框 -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Operator')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-operator" readonly data-rule="required" class="form-control" name="row[operator]" type="text"
                value={$operater|htmlentities}>
        </div>
    </div>

    <!-- 提交按钮 -->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button id="add-btn" type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>